<div class="row">
    <div class="span1 text-right">
        <h1>
            <?php echo $this->Html->link('<i class="icon-arrow-left-3"></i>', '/Admins', array('escape' => false, 'title' => 'Back')) ?>
        </h1>
    </div>
    <div class="span10">
        <?php if ($this->Session->check('add_project')) { ?>
            <div class="span12 no-margin text-center">
                <h3 class="widget-title c-green">Add Project Process</h3>
                <ul>
                    <li class="c-green"><i class="icon-checkmark"></i> ขั้นตอนที่ 1 เพิ่มรายละเอียดโปรเจค</li>
                    <li class=""><i class="icon-play"></i> ขั้นตอนที่ 2 เพิ่มและแก้ไขภาษา อื่น ๆ</li>
                    <li class="c-gray"><i class="icon-cancel-2"></i> ขั้นตอนที่ 3 เพิ่มรูปภาพ </li>
                </ul>
            </div>
        <?php } ?>

        <div class="span12 text-center edit-project-lang-bar">            
            <?php echo $this->Html->link('ภาษาไทย', '/Projects/edit/'. $projectId . '?lang=' . THAI_LANG, array('escape' => false, 'title' => 'Thai', 'class' => $lang == THAI_LANG ? 'select' : '')); ?>
            &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
            <?php echo $this->Html->link('English', '/Projects/edit/' . $projectId . '?lang=' . ENG_LANG, array('escape' => false, 'title' => 'Eng', 'class' => $lang == ENG_LANG ? 'select' : '')); ?>
            &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
            <?php echo $this->Html->link('Upload Images', '/Projects/upImage/'.$projectId, array('escape' => false, 'title' => 'Up images')); ?>
        </div>

        <div class="span12 no-margin-left margin-top">
            <?php
            echo $this->Form->create('Project', array(
                'novalidate' => true,
                'format' => array('before', 'label', 'error', 'between', 'input', 'after')
            ));
            echo $this->Form->input('id');
            echo $this->Form->input('ProjectDetail.id');
            ?>
            <?php include("add_eng.ctp"); ?>
        </div>
        <div class="span12 margin-top text-center">
            <?php echo $this->Form->submit('SAVE', array('class' => 'button success')); ?>
        </div>        
        <?php echo $this->Form->end(); ?>
    </div>
</div>